package com.bluedot.www.core.pojo.DO;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * <p>
 * 笔迹图片，保存裁剪后的笔迹图片和预处理后的笔迹图片的链接，（物理删除）
 * </p>
 *
 * @author zhouxuan
 * @since 2021-08-07
 */
public class HandwritingImg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 笔迹图片主键
     */
    private Long id;

    /**
     * 笔迹图片,注意存储的是裁剪后的图片链接
     */
    private String handwritingImg;

    /**
     * 预处理后图片链接，为了再次展示给用户
     */
    private String pretreatmentImg;

    /**
     * 笔迹特征id
     */
    private Long featureId;

    /**
     * 性格报告id
     */
    private Long characterReportId;

    /**
     * 笔迹图片书写时间
     */
    private Date writingTime;

    private Timestamp gmtCreate;

    private Timestamp gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHandwritingImg() {
        return handwritingImg;
    }

    public void setHandwritingImg(String handwritingImg) {
        this.handwritingImg = handwritingImg;
    }

    public String getPretreatmentImg() {
        return pretreatmentImg;
    }

    public void setPretreatmentImg(String pretreatmentImg) {
        this.pretreatmentImg = pretreatmentImg;
    }

    public Long getFeatureId() {
        return featureId;
    }

    public void setFeatureId(Long featureId) {
        this.featureId = featureId;
    }

    public Long getCharacterReportId() {
        return characterReportId;
    }

    public void setCharacterReportId(Long characterReportId) {
        this.characterReportId = characterReportId;
    }

    public Date getWritingTime() {
        return writingTime;
    }

    public void setWritingTime(Date writingTime) {
        this.writingTime = writingTime;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "HandwritingImg{" +
                "id=" + id +
                ", handwritingImg=" + handwritingImg +
                ", pretreatmentImg=" + pretreatmentImg +
                ", featureId=" + featureId +
                ", characterReportId=" + characterReportId +
                ", writingTime=" + writingTime +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                "}";
    }
}
